package sz.com.postoffice.jxyzwgcase.dao.master;

import org.apache.ibatis.annotations.Param;
import sz.com.postoffice.jxyzwgcase.dao.BaseDao;
import sz.com.postoffice.jxyzwgcase.pojo.Employee;
import sz.com.postoffice.jxyzwgcase.pojo.Vacation;

import java.util.List;

public interface EmployeeDao extends BaseDao<Employee> {
    List<Vacation> findVacationByEntity(Vacation vacation);
    List<Vacation> findVacationByPeriod(Vacation vacation);
    void deleteVacationById(@Param("id") int id);
    void insertVacation(Vacation vacation);
    void updateVacation(Vacation vacation);
    Vacation findVacationById(@Param("id") int id);
}
